#include<iostream>
#include<fstream>
#include<string>
int main()
{
	std::ofstream out("123.txt",std::ios::binary);
	if(!out.is_open())
		return 1;
	std::string s="666\n";
	out.write(s.c_str(),s.size());
	out<<"8888888\n";
	out.close();
	return 0;
}
